/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Navegacion;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 *
 * @author Administrador
 */
public class Pagina {

    public static void aviso(String titulo, String mensaje, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        request.setAttribute("titulo", titulo);
        request.setAttribute("mensaje", mensaje);
        request.getRequestDispatcher("/ver.jsp?page=aviso").forward(request, response);
    }

}

